home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 52
/
Aminet 52 (2002)(GTI - Schatztruhe)[!][Dec 2002].iso
/
Aminet
/
dev
/
c
/
CLib-SDI.lha
/
CLib-SDI
/
libsource
/
makefile.gcc
< prev
next >
Wrap
Makefile
|
2002-10-27
|
458b
|
17 lines
CFLAGS = -O2 -c -I ../include/C/ -D __NOLIBBASE__
LFLAGS = -noixemul -nostartfiles -s
DDIR = ../libs/# the directory, where destination library is stored
$(DDIR)example.library: libinitgcc.o examplefuncsgcc.o
gcc $(LFLAGS) -o $@ libinitgcc.o examplefuncsgcc.o
libinitgcc.o: libinfo.h libinit.c
gcc $(CFLAGS) -o $@ libinit.c
examplefuncsgcc.o: libinfo.h examplefuncs.c
gcc $(CFLAGS) -o $@ examplefuncs.c
clean:
delete examplefuncsgcc.o libinitgcc.o